package com.ruoyi.store.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 调拨管理对象 finer_stock_transfer
 * 
 * @author ruoyi
 * @date 2024-11-05
 */
public class StockTransfer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 仓库调拨id */
    private Integer id;

    /** 仓库调拨单编码 */
    @Excel(name = "仓库调拨单编码")
    private String transferCode;

    /** 调出仓库id（外联仓库表） */
    @Excel(name = "调出仓库id", readConverterExp = "外=联仓库表")
    private Integer houseOutId;

    /** 调入仓库id（外联仓库表） */
    @Excel(name = "调入仓库id", readConverterExp = "外=联仓库表")
    private Integer houseInId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    private String createBy;
    private String houseInName;
    private String houseOutName;
    /** 修改人 */
    @Excel(name = "修改人")
    private String modifyBy;
    private int status;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifyDate;
    private List<StockTransferDetail> detailList;
    /** 0：未删除1：已删除 */
    private Integer isDel;

    public List<StockTransferDetail> getDetailList() {
        return detailList;
    }

    public void setDetailList(List<StockTransferDetail> detailList) {
        this.detailList = detailList;
    }

    public String getHouseInName() {
        return houseInName;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public void setHouseInName(String houseInName) {
        this.houseInName = houseInName;
    }

    public String getHouseOutName() {
        return houseOutName;
    }

    public void setHouseOutName(String houseOutName) {
        this.houseOutName = houseOutName;
    }
    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setTransferCode(String transferCode) 
    {
        this.transferCode = transferCode;
    }

    public String getTransferCode() 
    {
        return transferCode;
    }
    public void setHouseOutId(Integer houseOutId) 
    {
        this.houseOutId = houseOutId;
    }

    public Integer getHouseOutId() 
    {
        return houseOutId;
    }
    public void setHouseInId(Integer houseInId) 
    {
        this.houseInId = houseInId;
    }

    @Override
    public String getCreateBy() {
        return createBy;
    }

    @Override
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Integer getHouseInId()
    {
        return houseInId;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setModifyBy(String modifyBy) 
    {
        this.modifyBy = modifyBy;
    }

    public String getModifyBy() 
    {
        return modifyBy;
    }
    public void setModifyDate(Date modifyDate) 
    {
        this.modifyDate = modifyDate;
    }

    public Date getModifyDate() 
    {
        return modifyDate;
    }
    public void setIsDel(Integer isDel) 
    {
        this.isDel = isDel;
    }

    public Integer getIsDel() 
    {
        return isDel;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("transferCode", getTransferCode())
            .append("houseOutId", getHouseOutId())
            .append("houseInId", getHouseInId())
            .append("createBy", getCreateBy())
            .append("createDate", getCreateDate())
            .append("modifyBy", getModifyBy())
            .append("modifyDate", getModifyDate())
            .append("isDel", getIsDel())
            .toString();
    }
}
